package com.example.demo;

import com.example.demo.Mappers.PatientInfoMapper;
import com.example.demo.beans.PatientInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/3/30.
 */
@Service
public class PatientService {
    private PatientInfoMapper patientInfoMapper;
public List<PatientInfo>findAall(){
    return  patientInfoMapper.selectallpatient();
}
}
